package www.sofn.com.address.domain.pojo;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;
import www.sofn.com.domain.pojo.BasePO;

@Data
@ToString
@Accessors(chain = true)
@TableName("address")
public class AddressPO extends BasePO {
    @TableField(updateStrategy = FieldStrategy.NEVER)
    private Long  memberId;//会员Id
    private String recipient;//收件人
    private String phone;//电话
    private Integer provinceId; //省份Id
    private String provinceName;//省份
    private Integer cityId;//城市id
    private String cityName; //城市
    private Integer countyId;//区域Id
    private String countyName;//区域
    private String streetName;//地址
    @TableField(updateStrategy = FieldStrategy.NEVER)
    private Boolean defaultStatus;//1表示默认
}
